﻿// <copyright>
// Copyright (c) 2008 - 2009, Microsoft, All Rights Reserved
// </copyright>
//
// Licensed under the Microsoft Public License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at 
//
// http://www.opensource.org/licenses/ms-pl.html

namespace LiveLabs.Logging.Logs
{
    /// <summary>
    /// Defines the responsibility for a <see cref="System.IO.TextWriter"/> aggregator.
    /// </summary>
    public enum TextWriterResponsibility
    {
        /// <summary>
        /// The aggregator owns the <see cref="System.IO.TextWriter"/> and will close it.
        /// </summary>
        Owns,

        /// <summary>
        /// The aggregator does not own the <see cref="System.IO.TextWriter"/> and will not close it.
        /// </summary>
        DoesNotOwn
    }
}